package com.dyh.quickdemozwei.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/a1")
@RestController
public class AbsController1 extends AbsController{

    @RequestMapping("/ha")
    public String ha(){
        return super.ha();
    }

    @RequestMapping("/ha1")
    public String ha1(){
        return super.ha1()+"1";
    }

    @Override
    public String ha3() {
        return "h3";
    }

    @Override
    public String ha4() {
        return "h4!!";
    }
}
